<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // 可以追加删除对象，但是不能全部替换
        const arr = ['pink', 'red']
        arr.push('blue')
        console.log(arr);

        // arr = [1, 2, 3]
        // console.log(arr);       //Assignment to constant variable. 错误写法
    </script>
</body>

</html>